/*
 *编写者：陈冈
 *高校经费测算系统--获得系统帮助
 *编写时间：2007-1-20
 */
package cn.edu.jfcs.help;

import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.actions.ActionFactory;
import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction;

public class GetHelpContents {
	private IWorkbenchWindow window;
	private IWorkbenchAction helpInfo; 

	public GetHelpContents(IWorkbenchWindow window) {
		this.window=window;
	}
	public IWorkbenchAction getHelp(){
		helpInfo = ActionFactory.HELP_CONTENTS.create(window);
		helpInfo.setText("系统帮助@ALT+H");
		helpInfo.setToolTipText("系统帮助");
		return helpInfo;
	}
}
